package com.example.project3.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.project3.entity.Projects;
import com.example.project3.entity.User;
import com.example.project3.exception.ServiceException;

import java.util.List;
import java.util.Map;

/**
 * @author 23931
 * @description 针对表【projects】的数据库操作Service
 * @createDate 2023-05-29 15:49:00
 */
public interface ProjectsService extends IService<Projects> {

    List<Projects> getMyParticipatingProject(User user);

    User invite(Projects project, User inviteUser) throws ServiceException;

    Map<String, Object> getMoreInfo(Integer projectId);
}
